package unit3.lianxi;

public class Test {
    public static void main(String[]args){
        CollegeStudent cs=new CollegeStudent("陈翔",1111,"应用技术系");
        CollegeStudent cs2=new CollegeStudent("小明",2222,"初等教育系");
        System.out.println(cs.xm);
        System.out.println(cs.xb);
        System.out.println(cs2.xm);
        System.out.println(cs2.xb);

        CollegeStudent yy1=new CollegeStudent(3333,"茅台","应用技术系");
        CollegeStudent yy2=new CollegeStudent(4444,"球球","初等教育系");
        System.out.println(yy1.xh);
        System.out.println(yy1.xm);
        System.out.println(yy1.bj);

        System.out.println(yy2.xh);
        System.out.println(yy2.xm);
        System.out.println(yy2.bj);
    }
}
